package scriptlerweb

import javax.persistence.*;


class Script implements Serializable {
	
	@Id
	Long id
	
	Long providerId
	
	@Transient
	String providerName
	
	String name = ""
	
	String lang = ""
	
	String comment = ""
	
	String versionStr = ""
	
	String scriptSrc = ""
	
	String url = ""
	
	int downloadCount = 0
	
	int ratingPos = 0
	
	int ratingNeg = 0
	
	Date lastUpdate
	
	@Override
	public String toString() {
		return "[Script: $id, $name, $versionStr, $lang]"
	}
}
